﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CoinList.aspx.cs"	Inherits="Admin_CoinList" %>
<%@ Register Assembly="QHH.Web" Namespace="QHH.Web.UI.WebControls" TagPrefix="qhh" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>



</head>
<body class="GridBody">
	<form id="GridForm" runat="server">
	<div class="GridPage">
		<div class="GridSearch">
			<div>
				<table border="0" align="left">
					<tr>
						<td align="right" nowrap="nowrap">
							 昵称/手机号
						</td>
						<td align="left" style="padding-right: 8px;">
							<asp:TextBox ID="txtName" runat="Server" Width="115px"></asp:TextBox>
						</td>
						<td align="right" nowrap="nowrap">
							 奖金类型
						</td>
						<td align="left" style="padding-right: 8px;">
                            <asp:DropDownList ID="ddlType" Width="115px" runat="server">

                            </asp:DropDownList>
						</td>
					</tr>
				</table>
			</div>
			<div class="GridAdvancedSearchButton">
				<asp:Button ID="btnFind" runat="server" Text="搜索" OnClick="Search_Click" CssClass="styButton" />
			</div>
			<div style="clear: both; height: 0px;">
			</div>
		</div>
		<%--表格区域--%>
		<div class="GridTable">
			<asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="Id" Width="100%" CssClass="GridView">
				<Columns>
                    <asp:BoundField DataField="NickName" HeaderText="会员昵称">
                        <HeaderStyle Width="10%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                   <asp:BoundField DataField="Mobile" HeaderText="手机号">
                        <HeaderStyle Width="10%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="TradeTypeTxt" HeaderText="交易类型">
                        <HeaderStyle Width="8%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="BonusTypeTxt" HeaderText="奖金类型">
                        <HeaderStyle Width="8%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="InOrOutTxt" HeaderText="进出">
                        <HeaderStyle Width="10%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                    <asp:BoundField DataField="FromUserName" HeaderText="相关账户">
                        <HeaderStyle Width="10%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
                   <asp:BoundField DataField="Amount" HeaderText="果币数量" DataFormatString="{0:f0}">
                        <HeaderStyle Width="10%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>

                    <asp:BoundField DataField="Remark" HeaderText="备注">
                        <HeaderStyle HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>

                    <asp:BoundField DataField="cdate" HeaderText="注册日期" DataFormatString="{0:yyyy-MM-dd}">
                        <HeaderStyle Width="10%" HorizontalAlign="Center" />
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:BoundField>
				</Columns>
				<RowStyle CssClass="GridViewRow" />
				<AlternatingRowStyle CssClass="AlternatingRow" />
				<SelectedRowStyle CssClass="GridViewRowSelected" />
				<HeaderStyle CssClass="GridViewHeader" />
				<FooterStyle CssClass="GridViewRow" />
			</asp:GridView>
		</div>
		<%--分页控件--%>
		<div class="GridPager">
			<qhh:Navigator ID="Navigator" runat="server" OnPageChanged="Navigator_PageChanged">
			</qhh:Navigator>
		</div>
	</div>
	<asp:HiddenField ID="hidRecordID" runat="server" />
	
	
	<script language="javascript" type="text/javascript">
	    function Add()
	    {
	        showModalWindow('新增用户', 820, 500, "UsersEdit.aspx?s=" + Math.random() + "&ID=");
	        return false;
	    }

	    function Edit(ID, UserName)
	    {
            showModalWindow('修改用户:' + UserName, 820, 540, "UsersEdit.aspx?s=" + Math.random() + "&ID=" + ID);
	    }

	    function check() {
	        if (!checkSelect()) return false;
	        if (!confirm('确认是否删除?')) return false;

	        return true;
	    }
	</script>
	</form>
</body>
</html>
